@color_gray: #4f4f4f;
@color_icon: #aaa;
@color_orange: #ff7e17;
@color_blue: #489CD7;
@font_size_28: 28;
@font_size_36: 36;
@font_size_45: 45;
@font_size_48: 48;
@h: 10;

.clearfix::after{
  display: block;
  content: '';
  clear: both;
}

.wrapper {
  .blank {
    height: 16rpx;
    background-color: transparent;
  }
  .comment {
    background-color: #fff;
    width: 718rpx;
    margin-left: 16rpx;
    padding: 32rpx 34rpx 0;
    border-radius: 10rpx;
    position: relative;
    box-shadow: 0 0 10rpx 0 #F2F2F2;
    .item {
      .headPic {
        width: 85rpx;
        height: 85rpx;
        border-radius: 41rpx;
        background-size: 100% 100%;

        &.gray {
          background-color: var(--colorGray);
        }
      }
      .sex {
        width: 30rpx;
        height: 30rpx;
        vertical-align: middle;
        position: absolute;
        left: 30rpx;
        top: 30rpx;
        background-color: #fff;
        border-radius: 50%;
        border: 2rpx solid #fff;
      }
      .info {
        width: calc(100% - 105rpx);
        float: right;
        .info-top {
          .name {
            max-width: 450rpx;
            height: 56rpx;
            line-height: 56rpx;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
            font-size: 26rpx;
            font-weight: bold;
            color: #666;
            position: absolute;
            top: (18rpx + @h);
            left: 140rpx;
            image {
              width: 26rpx;
              height: 26rpx;
              vertical-align: middle;
              position: absolute;
              left: 0;
              top: 0;
            }
            &.logo {
              color: #ff7e17;
            }
          }
          .video {
            height: 36rpx;
            line-height: 34rpx;
            padding: 0 20rpx;
            border-radius: 21rpx;
            color: #fff;
            position: absolute;
            top: (30rpx+@h);
            right: 36rpx;
            // background-color: #43D7B5;
            font-size: 22rpx;
          }
        }
        .info-bottom {
          font-size: 20rpx;
          color: @color_icon;
          position: absolute;
          left: 140rpx;
          top: (74rpx+@h);
          height: 28rpx;
          line-height: 28rpx;
          .time {
            margin-left: 10rpx;
          }
        }
      }
    }
    .desc {
      color: #000;
      line-height: 44rpx;
      font-size: 32rpx;
      margin-top: 28rpx;
      display: -webkit-box;


      overflow: hidden;
      text-overflow: ellipsis;
      word-wrap: break-word;
      // white-space: normal !important;
      -webkit-line-clamp: 5;
      -webkit-box-orient: vertical;

      white-space: pre-line;
    }
    .img {
      margin-top: 20rpx;
      position: relative;
      image {
        float: left;
        margin-left: 10rpx;
        width: 206rpx;
        height: 206rpx;
        border-radius: 15rpx;
        margin-top: 10rpx;
      }
      .more-img {
        position: absolute;
        right: 64rpx;
        bottom: 50rpx;
        color: #fff;
        font-size: 80rpx;
        opacity: 0.7;
      }
    }
    .pos {
      margin-top: 30rpx;
      color: #999;
      font-size: 24rpx;
    }
    .footer {
      margin-top: 25rpx;
      padding: 0 30rpx;
      display: flex;
      justify-content: space-between;
      padding-bottom: 25rpx;
      .f1 {
        flex: 1;
        text-align: left;
        image {
          width: 32rpx;
          height: 32rpx;
          vertical-align: middle;
        }
        .heart {
          font-size: 28rpx;
          position: relative;
          top: 3rpx;
          margin-left: 10rpx;
          font-weight: lighter;
          color: #666;
        }
        .top {
          width: 100rpx;
          font-size: 30rpx;
          position: absolute;
          right: 120rpx;
          text-align: center;
          left: -15rpx;
          bottom: 25rpx;
          // border: 1rpx solid red;
          // color: red;
          border-radius: 10rpx;
        }
      }
      .f2 {
        flex: 1;
        text-align: center;
        image {
          width: 30rpx;
          height: 30rpx;
          vertical-align: middle;
        }
        .chat {
          font-size: 28rpx;
          position: relative;
          top: 3rpx;
          margin-left: 10rpx;
          font-weight: lighter;
          color: #666;
        }
      }
      .f3 {
        flex: 1;
        text-align: right;
        image {
          width: 30rpx;
          height: 30rpx;
          vertical-align: middle;
        }
        .zan {
          font-size: 28rpx;
          position: relative;
          top: 3rpx;
          margin-left: 10rpx;
          font-weight: lighter;
          color: #666;
        }
      }
    }
  }
}